<!DOCTYPE html>
<html>
<head lang="en">
    <title>设备监控 - 监控设备</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/cwp/favicon.ico" type="image/x-icon" />
    <!--引入CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/list.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/btn.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/tabs.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/taqs.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/panel.css"  />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/table.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/zTree/css/metroStyle/metroStyle.css"/>

    <!--引入bootstrap CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrapModel.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/animate.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/smartSecurity/device.css"/>

    <!--引入bootstrap CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrapModel.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrap-theme.min.css"/>
    <style>
        .center_td{
            width: 180px;
        }
        .wrapper.open .right-container{
            margin-left: 240px!important;
        }

        .videoText{
            position: absolute;
            z-index: 999;
            top: 54%;
            left: 37.5%;
        }
        #vlc{
            background: #000;
        }
        .onLondVideo{
            position: absolute;
            color: #fff;
            z-index: 999999;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            width: 100%;
            height: 20px;
            display: none;
        }
        .img-title .ml-5{
            line-height: 18px;
        }


        .modal-body .loading{
            position: absolute;
            width: 402px;
            top:180px;
            left: 98px;
            z-index: 1;
            /*display: none;*/
        }
        .modal-body .loading .tip{
            text-align: center;
            margin-bottom: 2px;
            color:#000;
        }

        .modal-body .progress-num{
            color: #000000;
            text-align: center;
            margin-bottom: 3px;
        }
        .modal-body .progress{
            /*height: 10px;*/
        }

        .progressbar-back-text{
            display: none;
        }
        .progress-bar {
            -webkit-transition: width 10s ease-in-out!important;
            -moz-transition: width 10s ease-in-out!important;
            -ms-transition: width 10s ease-in-out!important;
            -o-transition: width 10s ease-in-out!important;
            transition: width 10s ease-in-out!important;
        }
        .shadeVideo{
            width: 100%;
            height: 425px;
            background: #FFFFFF;
            position: absolute;
            top: 0;
            left: 0;
        }
        .videoInfo{
            height: 140px;
        }
    </style>

</head>
<body>

<!--头部文件 开始-->
<div id="header" class="hide"></div>
<!--头部文件 结束-->


<!--主要内容开始-->
<div class="wrapper open">
    <!--左侧菜单 开始-->
    <div id="left-menu" class=""></div>
    <div class="center_td">

        <div class="device_state mb-20 pb-20 hide">
            <div class="title">
                设备状态
            </div>
            <ul>
                <li><span class="icon-location2 t-tip-error"></span>故障</li>
                <li><span class="icon-location2 t-tip-todo"></span>正常</li>
            </ul>
        </div>
        <!--搜索-->
        <div class="search">
            <input type="text" id="btn-search-device" placeholder="搜索监控设备" />
        </div>
        <div class="clearfix">
            <!--楼层菜单-->
            <div id="floor" class="fl mt-10">
                <div class="title hide">
                    监控设备
                </div>

                <div class="content">
                    <form id="frmTree">
                        <input type="hidden" id="buildingId" value=""/>
                        <div class="title">楼层</div>
                        <ul class="floorMenu" id="floorMenuList">

                        </ul>
                    </form>
                </div>
            </div>

            <!--设备列表-->
            <div id="device-list" class="fr" style="width: 120px;">
                <div class="title">设备IP</div>
                <ul id="deviceList">

                </ul>
            </div>
        </div>
    </div>
    <!--右侧内容 开始-->
    <div class="right-container">
        <div class="right-scroll">
            <div class="t-list" style="width: 100%;height: 100%;">
                <!--门禁设备-->
                <div class="t-building">
                    <!--楼层-->
                    <div class="img-title" style="width: 180px;">
                        <div class="clearfix">
                            <div class="clearfix mt-5">
                                设备状态
                            </div>
                            <div class="clearfix mt-5">
                                <img src="../../../assets/img/shipin1-1.png"><span class="ml-5">正常运行</span>
                            </div>
                            <div class="clearfix">
                                <img src="../../../assets/img/shipin2-1.png"><span class="ml-5">设备报警</span>
                            </div>
                        </div>
                        <div class="clearfix mt-10">
                            <div class="clearfix mb-5">
                                设备类型
                            </div>
                            <div class="clearfix mb-5">
                                <img src="../../../assets/img/shipin1-1.png"><span class="ml-5">枪式摄像机</span>
                            </div>
                            <div class="clearfix mb-5">
                                <img src="../../../assets/img/shipin1-2.png"><span class="ml-5">半球摄像机</span>
                            </div>
                            <div class="clearfix">
                                <img src="../../../assets/img/shipin1-3.png"><span class="ml-5">球形摄像机</span>
                            </div>
                        </div>
                    </div>
                    <div id="floor-list">

                    </div>
                    <!--工具栏-->
                    <div class="status-bar clearfix">
                        <img src="../../../assets/img/compass_icon.png" style="width: 100%"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--左侧菜单 结束-->
</div>

<div class="modal fade bs-example-modal-lg" id="videoTip" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4 class="modal-title" id="exampleModalLabel">监控视频</h4>
            </div>
            <div class="modal-body" style="text-align:center;" id="Video">
                <div class="loading">
                    <div class="tip">载入中......</div>
                    <div class="progress progress-striped">
                        <div class="progress-bar progress-bar-info active" role="progressbar" data-transitiongoal="100"></div>
                    </div>
                </div>
                <div class="shadeVideo"></div>
            </div>
            <div class="videoInfo">
                <ul class="t-columns-group" id="deviceInfo">
                    <li><label>设备类型：</label></li>
                    <li><label>设备编号：</label></li>
                    <li><label>设备位置：</label></li>
                    <li><label>设备IP：</label></li>
                    <li><label>安装时间：</label></li>
                </ul>
                <div id="controlVideo">
                    <ul class="t-columns-group">
                        <li></li>
                        <li class="controlVideo-btn" data-val="0">上移</li>
                        <li></li>
                        <li class="controlVideo-btn" data-val="3">左移</li>
                        <li></li>
                        <li class="controlVideo-btn" data-val="2">右移</li>
                        <li></li>
                        <li class="controlVideo-btn" data-val="1">下移</li>
                        <li></li>
                    </ul>
                </div>
            </div>

        </div>
    </div>
</div>
<!--版权-->
<div id="copyright"  class="hide"></div>
<!--jQuery库脚本-->
<!--非IE8浏览器-->
<!--[if !(IE 8)]><!--><script type="text/javascript" src="../../../assets/lib/jquery/jquery.min.js"></script><!--<![endif]-->
<!--IE8浏览器-->
<!--[if IE 8]><script type="text/javascript" src="../../../assets/lib/jquery/jquery-ie8.min.js"></script><![endif]-->
<script type="text/javascript" src="../../../assets/lib/jQuery-slimScroll-1.3.8/jquery.slimscroll.min.js"></script>
<script src="../../../assets/common/loadHeaderAndCopyright.js"></script>
<script src="../../../assets/common/wrapperHeight.js"></script>
<!--模态框-->
<script src="../../../assets/lib/bootstrap-3.3.5-dist/js/bootstrap.js"></script>
<script charset="utf-8" src="../../../assets/lib/bootstrap-3.3.5-dist/js/bootstrap-progressbar.js"></script>
<!--模态提示框-->
<script src="../../../assets/common/centerModal.js"></script>
<script src="../../../assets/common/ajaxPoster.js"></script>
<script charset="utf-8" src="../../../assets/lib/tipModal/js/tipModal.js"></script>
<script charset="utf-8" src="../../../assets/lib/artTemplate/template.js"></script>
<script src="../../../assets/common/loaderTableTmpl.js"></script>
<script src="../../../js/monitorDevices/smartSecurity/initVideoOgg.js"></script>
<!--加载楼层菜单-->
<script type="text/html" id="menuListTmpl">
    {{each beans}}
    <li><a class="floor-item {{$value.num | numFormat}}" data-id="{{$value.buildingId}}">{{$value.buildingDesc}}</a></li>
    {{/each}}
</script>
<!--加载设备列表-->
<script type="text/html" id="deviceTmpl">
    {{each beans}}
    <li><a class='device-item' title="{{$value.devicePositionDescribe}}" data-id="{{$value.deviceId}}">{{$value.controllerip}}</a></li>
    {{/each}}
</script>
<!--加载楼层地图-->
<script type="text/html" id="mapTmpl">
    {{each beans}}
    <div class="floor-image {{$value.num | mapFormat}}" id="floor{{$value.buildingId}}">
        <img src="{{$value.num | mapImgFormat}}" alt="">
        <div class='device-coordinate-item selected' id="{{$value.buildingId}}">

        </div>
    </div>
    {{/each}}
</script>
<!--监控设备信息-->
<script type="text/html" id="deviceInfoTmpl">
    <li><label>设备类型：</label><label>{{bean.type | deviceFormat}}</label></li>
    <li><label>设备编号：</label><label>{{bean.devicePositionCode}}</label></li>
    <li><label>设备ID：</label><label id="deviceId">{{bean.videoId}}</label></li>
    <li><label>设备IP：</label><label>{{bean.controllerip}}</label></li>
    <li><label>设备位置：</label><label>{{bean.devicePositionDescribe}}</label></li>
    <li><label>安装时间：</label><label>{{bean.deviceInstallTime}}</label></li>
</script>
</body>


</html>